obj-m := usb_bbb.o
KERNELDIR:= ~/project/usb_driver/sama5d3/linux/
PWD:=$(shell pwd)
ARCH:=arm
CROSS_COMPILE=/opt/arm-compiler/bin/arm-linux-gnueabi-
default:
	 $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KERNELDIR)  M=$(PWD) modules 
clean:        
	rm -rf *.o *.mod.c *.mod.o *.koendif
